package com.hohai.mall.common.framework.dataobject;

public class Page {
    /**
     * 当前页
     */
    private int page = 1;
    /**
     * 每页条数
     */
    private int pageSize = 12;


    public int getPage() {
        return page > 0 ? page : 1;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

}
